package com.hhsjdesign.dynamicui.core.widgetdata

import com.hhsjdesign.dynamicui.annoprocess.ADynamicUI
import com.hhsjdesign.dynamicui.annoprocess.AWidgetData
import com.hhsjdesign.dynamicui.core.property.widget.BannerGWidgetProperty
import com.hhsjdesign.dynamicui.core.property.widget.ISpecPropertyTransformer
import org.json.JSONObject

/**
 * 轮播组件数据
 * BannerGridProperty
 */
@ADynamicUI
@AWidgetData(WidgetTypeConst.BANNER_GRID)
open class BannerGWidgetData(jo:JSONObject) : WidgetData(jo),
    ISpecPropertyTransformer<BannerGWidgetProperty> {

    override fun transformWidgetSpecProperty(): BannerGWidgetProperty {
        return specProperty as BannerGWidgetProperty
    }

}